home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Jotto2.so Folder / Jotto ][ ƒ / MSG Shell ƒ / msg menus.h < prev    next >
Encoding:
Text File  |  1994-05-02  |  1.7 KB  |  75 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        msg menus.h
  4.  
  5. Purpose:    This is the header file for msg menus.c
  6.  
  7.  
  8. Jotto ][ -=- a simple word game, revisited
  9. Copyright (C) 1993 Mark Pilgrim
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. enum
  29. {
  30.     helpMenu=200,
  31.     
  32.     appleMenu = 400,
  33.     fileMenu,
  34.     editMenu,
  35.     optionsMenu,
  36.     
  37.     aboutItem = 1,
  38.     aboutMSGItem,
  39.     
  40.     newItem = 1,
  41.     openItem,
  42.     closeItem,
  43.     saveItem,
  44.     saveAsItem,
  45.     quitItem = 7,
  46.     
  47.     undoItem = 1,
  48.     cutItem = 3,
  49.     copyItem = 4,
  50.     pasteItem = 5,
  51.     clearItem = 6,
  52.     
  53.     dupToggle = 1,
  54.     nonWordsToggle,
  55.     useFiveLetter = 4,
  56.     useSixLetter,
  57.     soundToggle = 7,
  58.     animationToggle
  59. };
  60.  
  61. extern    Boolean            gMenuEnabled;
  62. extern    MenuHandle        gAppleMenu;
  63. extern    MenuHandle        gFileMenu;
  64. extern    MenuHandle        gEditMenu;
  65. extern    MenuHandle        gOptionsMenu;
  66. extern    MenuHandle        gHelpMenu;
  67.  
  68. void AdjustMenus(void);
  69. void HandleMenu(long);
  70. void HandleAppleMenu(short);
  71. void HandleFileMenu(short);
  72. void HandleEditMenu(short);
  73. void HandleOptionsMenu(short);
  74. void HandleHelpMenu(short);
  75.